package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @auther falls_vc
 * description:
 * @date 2025/5/15  11:15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ShortMessageLoginParam extends UserLoginParam{
    /**
     * 邮箱不能为空
     */
    @NotBlank(message = "邮箱不能为空！")
    private String loginMail;
    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空！")
    private String verificationCode;
}
